package com.qf.stu.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication
/*
@ComponentScan - 扫描SpringBean
@MapperScan - 扫描dao接口
@EnableFeignClients - 扫描Feign接口
 */
@EnableFeignClients(basePackages = "com.qf.**.feign")
@MapperScan("com.**.dao")
//@LoadBalancerClients({
//        @LoadBalancerClient(value = "cls-server", configuration = LoadBalanceConfig.class)
//})
public class StuApplication {

    public static void main(String[] args) {
        SpringApplication.run(StuApplication.class, args);
    }
}
